import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { JwtStrategy } from "./auth/jwt.strategy";
import { RoleEntity } from "../Entity/role.entity";
import { MenuController } from "../controller/menu.controller";
import { MenuEntity } from "../Entity/menu.entity";
import { MenuService } from "../service/menu.service";

@Module({
    imports:[TypeOrmModule.forFeature([MenuEntity,RoleEntity])],
    exports:[MenuService],
    controllers:[MenuController],
    providers:[MenuService,JwtStrategy]

})
export class MenuModule{

}   